<div class="theme">
	<div class="nav">
		<a href="#admin/themepackage"><div class="nav-li ">风格包</div></a>
		<a href="#admin/themeimg"><div class="nav-li focus">背景图片</div></a>
		<a href="#admin/themecolor"><div class="nav-li">整体颜色</div></a>
	</div>

	<hr/>

	<div class="info_box">
		<div class="upload"><!-- 网站背景图： -->
		<br/>
			<img-uploader
				upload-server-url="{{config.other.upload_image}}"
				text="上传背景图片"
				bind-input-key="$Cache.themeimg.preview_img_url"
				upload-callback="$Event.themeimg.show_upload_image"
				one-way="true"
				style="display:inline-block;"
				max-width="1024"
				>
			</img-uploader>
			<div>
			{{#each bus_loginer.config.bg_imgs}}
				<div class="imgset">
					<div>
						<img class="img" bind-src="{{img_url}}?imageView/1/w/200/h/133">
					</div>
					<div>
						<input type="radio" name="check" checked="{{$Top.bus_loginer.config.using_bg_img}}" bind-input="{{'$Top.bus_loginer.config.using_bg_img'}}" bind-input-show="{{'$Top.bus_info.config.using_bg_img'}}" value="{{img_url}}"/>
					</div>
					<div>
						<button event-click="{{'$Top.$Event.themeimg.remove_home_image'}}">删除</button>
					</div>
				</div>
			{{/each}}
			</div>
		</div>
		<div class="themepreview">
			<i event-click="{{'$Event.openPreview'}}" class="icon-checkbox-{{ispreview&&'checked'||'partial'}}"></i>启用预览
		</div>
		<div class="use-bg-blur">是否启用背景图片：
			<input type="radio" name="use" value="true" 
				checked="{{bus_loginer.config.is_use_bg_img}}" 
				bind-input="{{'bus_loginer.config.is_use_bg_img'}}" 
				bind-input-show="{{'bus_info.config.is_use_bg_img'}}"
			/>是

			<input type="radio" name="use" value="false"  
				checked="{{bus_loginer.config.is_use_bg_img}}" 
				bind-input="{{'bus_loginer.config.is_use_bg_img'}}" 
				bind-input-show="{{'bus_info.config.is_use_bg_img'}}"
			/>否
		</div>
		<div class="is_use_bg_img {{#if bus_info.config.is_use_bg_img}}focus{{/if}}">
			<div class="use-bg-blur">是否启用背景半透明：
				<input type="radio" name="alpha" value="true" 
					checked="{{bus_loginer.config.is_bg_img_alpha}}" 
					bind-input="{{'bus_loginer.config.is_bg_img_alpha'}}" 
					bind-input-show="{{'bus_info.config.is_bg_img_alpha'}}"
				/>是

				<input type="radio" name="alpha" value="false"  
					checked="{{bus_loginer.config.is_bg_img_alpha}}" 
					bind-input="{{'bus_loginer.config.is_bg_img_alpha'}}" 
					bind-input-show="{{'bus_info.config.is_bg_img_alpha'}}"
				/>否
			</div>
			<div class="use-bg-blur">是否启用背景模糊：
				<input type="radio" name="blur" value="true" 
					checked="{{bus_loginer.config.is_bg_img_blur}}" 
					bind-input="{{'bus_loginer.config.is_bg_img_blur'}}" 
					bind-input-show="{{'bus_info.config.is_bg_img_blur'}}"
				/>是

				<input type="radio" name="blur" value="false"  
					checked="{{bus_loginer.config.is_bg_img_blur}}" 
					bind-input="{{'bus_loginer.config.is_bg_img_blur'}}" 
					bind-input-show="{{'bus_info.config.is_bg_img_blur'}}"
				/>否
			</div>
		</div>
		<div>
			<button event-click="{{'$Event.themeimg.upload_config'}}">确定</button>
		</div>
	</div>

</div>